<script lang="ts" setup>
/**
 * 提供 api 注入
 */
import { useMessage, useLoadingBar } from "naive-ui";

const message = useMessage();
window.$message = message;

const loadingBar = useLoadingBar();
window.$loadingBar = loadingBar;
</script>
<template></template>
